#include <iostream>
#include <string>

using namespace std;

class Student {
private:
	
	string name;
	string password;
	string id;
	public:


	Student(string name, string password, string id) {
		this->name = name;
		this->password = password;
		this->id = id;
	}
	string getName() const {
		return name;
	}
	string getpassword() const {
		return password;
	}
	string getid() const {
		return id;
	}


	void setName(string name) {
		this->name = name;
	}
	void setpassword(string password) {
		this->password = password;
	}
	void setid(string id) {
		this->id = id;
	}


	void print() const {
		cout << "Name: " << name ;
		cout << " Password: " << password ;
		cout << " ID: " << id ;
		cout <<"  stundent" <<endl;;
		
	}
	bool operator==(const Student& other)const
	{
		return name == other.name && password == other.password && id == other.id;
	}
};
		
